import requests
# SUB=_2A25EIf1bDeRhGeFG61sQ-SbKzzmIHXVnX3CTrDV8PUNbmtANLVn7kW9Nfnb4gG7F2meSNmAYuKjESy7VG-3XR1i_
# SUBP=0033WrSXqPxfM725Ws9jqgMF55529P9D9WWhQH-UIw0HTFpSUoeugfRf5NHD95QN1h54eK.RSoBfWs4DqcjMi--NiK.Xi-2Ri--ciKnRi-zNS0n71K241hqXSBtt;
url = 'https://s.weibo.com/weibo?q=%E7%90%86%E6%83%B3%E6%B1%BD%E8%BD%A6'
res = requests.get(url,cookies={
    'SUB':'_2A25EIf1bDeRhGeFG61sQ-SbKzzmIHXVnX3CTrDV_PUJbkNANLWOjkW9Nfnb4gA2GAWb7E_c65Ta9Uvx6YHObso9K',
    'SUBP':'0033WrSXqPxfM725Ws9jqgMF55529P9D9WWhQH-UIw0HTFpSUoeugfRf5NHD95QN1h54eK.RSoBfWs4DqcjMi--NiK.Xi-2Ri--ciKnRi-zNS0n71K241hqXSBtt'
},headers={
    'user-agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36',
})
print(res.content.decode('utf-8'))